package router

import (
	"github.com/gin-gonic/gin"
	"tuowei.com/app/other/apis"
)

func init() {
	//routerCheckRole = append(routerCheckRole, subjectRouter)
	routerNoCheckRole = append(routerNoCheckRole, subjectRouter)
}

// 需认证的路由代码
func subjectRouter(v1 *gin.RouterGroup) {
	var api = apis.Subject{}
	//r := v1.Group("").Use(authMiddleware.MiddlewareFunc()).Use(middleware.AuthCheckRole())
	r := v1.Group("")
	{
		r.GET("/public/subject", api.GetSubjectList)
	}
}
